﻿<table class="default">
	<thead>
		<tr>
			<td width="10%">Sección</td>
			<td width="10%" class="middle">Bloque</td>
			<td width="10%" class="middle">Idioma</td>
			<td width="10%" class="middle">Visible</td>
			<td>Código</td>
			<td></td>
		</tr>
	</thead>
	<tbody>
		{if isset($data) eq true and count($data) gt 0}
			{foreach $data as $row}
				<tr class="{cycle values='odd,even'}">
					<td>{$row.section}</td>
					<td class="middle">{$row.block}</td>
					<td class="middle">{$row.language}</td>
					<td class="middle"><img src="{$imagespath}{if $row.visible eq 1}check.png{else}cross.png{/if}" /></td>
					<td>{$row.html}</td>
					<td class="right"><a href="{$row.editUrl}">Editar</a></td>
				</tr>
			{/foreach}
		{else}
			<tr class="odd">
				<td colspan="6">{$message}</td>
			</tr>
		{/if}
	</tbody>
</table>
